-
Notifications
You must be signed in to change notification settings - Fork 215
Remove ToggleInstructionStepModeCommand from Run Menu and Main Toolbar. #1143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
1f55afa
to
a2afce3
Compare
As ToggleInstructionStepModeCommand is contributed in too many places. We can remove it from Main Toolbar and Run Command. see eclipse-cdt#1142
a2afce3
to
a926d7f
Compare
@jonahgraham : a review is welcome. |
@jonahgraham The motivation for this fix is, " If property tester which decides the command has to the visible or not is not loaded then command is visible by default". Once the Property Tester is loaded by any dependents on the platform then it checks with the property tester and hides it. This is a bug/limitation in the eclipse platform. |
😢 I'm sorry that this slipped through the cracks - I was having extended down time when this came in. |
@Kummallinen / @Torbjorn-Svensson (or any other CDT committer, especially one that has a CDT based product): WDYT about removing instruction stepping mode from the main toolbar? Do your products rely/expect this? If so, can we put the onus on the product integrator to add this button back in for their use cases? |
So far no feedback. Can we merge and see if anyone complains? I guess not :-) |
Sorry only just saw the notification for this. For embedded development this is commonly used so would annoy our users if it were removed. While we can put it back for our products users of Embedded CDT would likely miss it & users of multiple plugins sets may end up with duplicates if vendors need to add this back in themselves |
The original issue is that the button is shown in non-CDT context as long as CDT is not loaded. This is a limitation of an extension point because it has to use tester classes to check the button / CDT debugging state, and we don't want CDT to be loaded if it is not used. What about following options:
WDYT? |
What if we add an "id" attribute for these contributions to let interested parties filter them out with E3 activity? |
As ToggleInstructionStepModeCommand is contributed in too many places. We can remove it from Main Toolbar and Run Command.
see #1142